/*
 * @Author: 烟浮
 * @Date: 2023-03-22 11:01:29
 * @LastEditTime: 2023-03-22 11:01:38
 * @LastEditors: 锦墨涵秋 275740441@qq.com
 * @FilePath: /ViteSsoIndex/ViteSsoIndex/src/router/index.ts
 */
import { createRouter, createWebHashHistory } from 'vue-router'
import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    redirect: '/main'
  },
  {
    path: '/main',
    component: () => import('../views/home/Home.vue')
  }
]

const router = createRouter({
  routes,
  history: createWebHashHistory()
})

export default router
